package com.open.capacity.tenant.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 更新租户状态dto
 * @program: open-capacity-platform
 * @author: GuoGaoJu
 * @create: 2023-03-21
 **/

@Data
@ApiModel(value = "更新租户状态")
@Valid
@AllArgsConstructor
@NoArgsConstructor
public class UpdateTenantDto {

    @NotBlank
    @ApiModelProperty(value = "租户标识",required = true)
    private String tenant_id;

    @NotNull
    @ApiModelProperty(value = "租户更新状态",required = true)
    private Integer status;
}
